import java.util.Scanner;

public class d065_三人行必有我師 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String input;
		String[] sp_input = new String[3];
		while(sc.hasNext()) {
			input = sc.nextLine();
			sp_input = input.split(" ");
			
			System.out.println(Integer.toString(Math.max(Math.max(Integer.parseInt(sp_input[0]), Integer.parseInt(sp_input[1])), Integer.parseInt(sp_input[2]))));
		}
	}
	
}